<template>
    <div class='header-d'>
    <el-row>
    <h1>我是header组件封装成功 {{header}}</h1>
    </el-row>
    </div>
</template>

<script>
import store from 'vuex'
export default {
  data () {
    return {
      header:'我是顶部导航'
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
    .header-d{
        color: blue;
   }
</style>
